package cn.bdqn.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhou
 * @since 2019-02-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PsInspectiontaskDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 主表任务ID
     */
    @TableField("taskId")
    private Long taskId;

    /**
     * 杆塔ID
     */
    @TableField("poleId")
    private Long poleId;

    @TableField("poleCode")
    private String poleCode;

    @TableField("lineCode")
    private String lineCode;

    @TableField("lineName")
    private String lineName;

    /**
     * 有无缺陷/故障，1、有，0、无
     */
    @TableField("isBug")
    private Integer isBug;

    /**
     * 完好率
     */
    @TableField("intactRate")
    private Double intactRate;

    /**
     * 缺陷级别ID
     */
    @TableField("bugLevel")
    private Long bugLevel;

    @TableField("bugLevelName")
    private String bugLevelName;

    /**
     * 缺陷类型ID
     */
    @TableField("bugType")
    private Long bugType;

    @TableField("bugTypeName")
    private String bugTypeName;

    @TableField("bugDesc")
    private String bugDesc;

    @TableField("discovererCode")
    private String discovererCode;

    @TableField("discovererName")
    private String discovererName;

    /**
     * 发现时间
     */
    @TableField("discoverTime")
    private LocalDateTime discoverTime;

    /**
     * 是否消缺，1、是，0、否
     */
    @TableField("isSolve")
    private Integer isSolve;

    /**
     * 巡检时间
     */
    @TableField("inspectTime")
    private LocalDateTime inspectTime;

    /**
     * 创建时间
     */
    @TableField("creationTime")
    private LocalDateTime creationTime;

    @TableField("createdBy")
    private String createdBy;

    /**
     * 最后修改时间
     */
    @TableField("lastUpdateTime")
    private LocalDateTime lastUpdateTime;


}
